package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 流程测试
 *
 * @author WeiZiDong
 */
@Table(name = "`joa_demo`")
@Data
@ApiModel("流程测试")
public class JoaDemo implements Serializable {
    
    @Column(name = "`id`")
    @ApiModelProperty(value = "ID", example = "String")
    private String id;
    @Column(name = "`name`")
    @ApiModelProperty(value = "请假人", example = "String")
    private String name;
    @Column(name = "`days`")
    @ApiModelProperty(value = "请假天数", example = "1")
    private Integer days;
    @Column(name = "`begin_date`")
    @ApiModelProperty(value = "开始时间", example = "2019-05-05 17:55:31")
    private Date beginDate;
    @Column(name = "`end_date`")
    @ApiModelProperty(value = "请假结束时间", example = "2019-05-05 17:55:31")
    private Date endDate;
    @Column(name = "`reason`")
    @ApiModelProperty(value = "请假原因", example = "String")
    private String reason;
    @Column(name = "`bpm_status`")
    @ApiModelProperty(value = "流程状态", example = "1")
    private String bpmStatus;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人id", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "修改时间", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "修改人id", example = "String")
    private String updateBy;

    private static final long serialVersionUID = 1L;
}
